﻿using MyToDo.Api.Controllers.Dtos;
using System.Threading.Tasks;

namespace MyToDo.Api.Service
{
    public interface ILoginService
    {
        //Task<ApiResponse> LoginAsync(string account, string password);
        Task<ApiResponse> LoginAsync(UserDto dto);
        Task<ApiResponse> ResgiterAsync(UserDto userDto);
    }
}
